package com.edee.bigday.commodity.vo;

import com.edee.bigday.commodity.entity.SkuImagesEntity;
import com.edee.bigday.commodity.entity.SkuInfoEntity;
import com.edee.bigday.commodity.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {
    //1、sku基本信息获取，对应cms_sku_info表
    SkuInfoEntity info;

    boolean hasStock = true;
    //2、sku的图片信息，对应cms_sku_images表
    List<SkuImagesEntity> images;

    //3、获取spu的销售属性组合
    List<SkuItemSaleAttrVo> saleAttr;

    //4、获取spu的介绍
    SpuInfoDescEntity description;

    //5、获取spu的规格参数信息
    List<SpuItemAttrGroupVo> groupAttrs;

    /**
     * 当前商品的秒杀信息
     */
    SeckillInfoVo seckillInfo;
}
